package com.fenxiangtech.mall.entity;

import com.fenxiangtech.mall.dto.ProductStatus;

import java.math.BigDecimal;
import java.util.List;

/**
 *@author zhangjiashun
 */
public class Order {

    private Long id;

    private String orderNo;

    private Long userId;

    private BigDecimal totalPrice;

    private Integer status;

    private String snapImg;

    private String snapName;

    private Integer totalCount;

    private List<ProductStatus> items;

    private Address address;

    private String snapItems;

    private String snapAddress;

    private String prepayId;

    private Long createTime;

    private Long updateTime;

    private Long deleteTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSnapImg() {
        return snapImg;
    }

    public void setSnapImg(String snapImg) {
        this.snapImg = snapImg;
    }

    public String getSnapName() {
        return snapName;
    }

    public void setSnapName(String snapName) {
        this.snapName = snapName;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public List<ProductStatus> getItems() {
        return items;
    }

    public void setItems(List<ProductStatus> items) {
        this.items = items;
    }

    public Address getAddress() {
        return address;
    }

    public String getSnapItems() {
        return snapItems;
    }

    public void setSnapItems(String snapItems) {
        this.snapItems = snapItems;
    }

    public String getSnapAddress() {
        return snapAddress;
    }

    public void setSnapAddress(String snapAddress) {
        this.snapAddress = snapAddress;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public String getPrepayId() {
        return prepayId;
    }

    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Long deleteTime) {
        this.deleteTime = deleteTime;
    }
}
